package com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination;

import com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination.dto.CrmVaccinationDetailsListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination.param.CrmVaccinationDetailsCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination.param.CrmVaccinationDetailsDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination.param.CrmVaccinationDetailsQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.vaccination.param.CrmVaccinationDetailsUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * CrmVaccinationDetailsCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/3/1 10:54 AM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/crm/vaccination/details/fallback")
public class CrmVaccinationDetailsCloudServiceFallback implements CrmVaccinationDetailsCloudService {

    @Override
    public CrmVaccinationDetailsListCloudDto query(CrmVaccinationDetailsQueryCloudParam param) {
        return new CrmVaccinationDetailsListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(CrmVaccinationDetailsCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(CrmVaccinationDetailsUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(CrmVaccinationDetailsDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
